﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using mobliebo;

namespace mobileshopping
{
    public partial class WebForm5 : System.Web.UI.Page
    {
        customer_info cur = new customer_info();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DataTable dt = cur.GetRecords(-99, "", "", -99, "", false, " and ");
            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            cur.customer_id = -99;
            cur.customer_name = txtCName.Text;
            cur.address = txtCAddress.Text;
            cur.mobile = Convert.ToInt32(txtMobileno.Text);
            cur.Email_id = txtEmailid.Text;
            cur.is_deleted = false;
            cur.SaveRecords();
               

        }

        
    }
}
